Xbasic

A5DNS::ManagerDeleteCNAMEEntry Method

Syntax

.DeleteCNAMEEntry as L (From as C, To as C)

Arguments

FromCharacter

The DNS name from which the entry was mapped.

ToCharacter

The DNS named to which the From parameter value was mapped (used for error checking).

Returns

resultLogical

Returns .t. if the call succeeded or .f. if the function call failed. See the contents of the CallResult property for more information on the cause of the error.

Description

DeleteCNAMEEntry deletes an existing CNAME record.

Example

' Delete a CNAME entry using DeleteCNAMEEntry()

dim cs as c
?A5DNS::Manager::ShowConnectionstringdialog(cs, cs)
cs = "Provider='AmazonRoute53';Timeout='10000';AccessKey='kkkkkkkk';SecretKey='ssssssss';Domain='mydomain.com.';"
dim dnsm as A5DNS::Manager = null_value()
Result = A5DNS::Manager::Open(dnsm,cs)
?dnsm.DeleteCNAMEEntry("foo.mydomain.com")